/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package uit.ejb.dae.phieuthue;

import java.rmi.RemoteException;
import javax.ejb.EJBObject;
import javax.sql.rowset.WebRowSet;
import uit.ejb.dto.PhieuThueDTO;

/**
 *
 * @author Restart
 */
public interface PhieuThueDAERemote extends EJBObject {

    boolean phieuThue_Insert(PhieuThueDTO phieuthue) throws RemoteException;

    boolean phieuThue_Update(PhieuThueDTO phieuthue) throws RemoteException;

    boolean phieuThue_Delete(String id) throws RemoteException;

    WebRowSet phieuThue_GetByAll() throws RemoteException;

    WebRowSet phieuThue_GetById(String id) throws RemoteException;

    WebRowSet phieuThue_GetByTop(String top, String where, String order) throws RemoteException;

    String phieuThue_GetMaxMaPT() throws RemoteException;
}
